package com.mujin.keji.collectionsystem.module.updata.contract;

import com.mujin.keji.collectionsystem.base.BasePresenter;
import com.mujin.keji.collectionsystem.base.BaseView;

/**
 * 上传文件contract
 *
 * @author weishixiong
 * @Time 2018-04-13
 */
public interface UploadContract {
    interface View extends BaseView<Presenter> {
        void onUploading(double progress);

        void onUploaSuccess();

        void onUploadFailuer();

    }

    interface Presenter extends BasePresenter {
        /**
         * 上传文件
         */
        void uploadFile();
    }
}
